package com.example.productmanagerspringboot.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_demand")
public class Demand {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String intro;
    @TableField("photo")
    private String photo;
    private String tag;
    @TableField("owner_id")
    private int ownerId;
}
